package com.thundersoft.pickcolor.bean;

import java.util.List;

/**
 * 颜色（rgb&16进制）
 */
public class Color {

    public static final int TYPE_ZERO = 0;
    public static final int TYPE_ONE = 1;
    public static final int TYPE_TWO = 2;

    public int id;// color的唯一标识

    public int type;// 布局分类
    private int rInt;// rgb:r
    private int gInt;// rgb:g
    private int bInt;// rgb:b
    private String hexInt;// 16进制
    private String kind;// 颜色种类
    private String describe;// 颜色描述

    private List<String> picPath;

    // type:one
    public Color(int type, String kind) {
        this.type = type;
        this.kind = kind;
    }

    // type:zero
    public Color(int type, List<String> picPath) {
        this.type = type;
        this.picPath = picPath;
    }

    // type:two
    public Color(int id, int type, int rInt, int gInt, int bInt, String hexInt, String describe) {
        this.id = id;
        this.type = type;
        this.rInt = rInt;
        this.gInt = gInt;
        this.bInt = bInt;
        this.hexInt = hexInt;
        this.describe = describe;
    }

    public Color(int rInt, int gInt, int bInt, String hexInt, String kind) {
        this.rInt = rInt;
        this.gInt = gInt;
        this.bInt = bInt;
        this.hexInt = hexInt;
        this.kind = kind;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getrInt() {
        return rInt;
    }

    public void setrInt(int rInt) {
        this.rInt = rInt;
    }

    public int getgInt() {
        return gInt;
    }

    public void setgInt(int gInt) {
        this.gInt = gInt;
    }

    public int getbInt() {
        return bInt;
    }

    public void setbInt(int bInt) {
        this.bInt = bInt;
    }

    public String getHexInt() {
        return hexInt;
    }

    public void setHexInt(String hexInt) {
        this.hexInt = hexInt;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public List<String> getPicPath() {
        return picPath;
    }

    public void setPicPath(List<String> picPath) {
        this.picPath = picPath;
    }
}
